# @Author   : tan90
# @Time     : 2025/3/19 17:01
import sys

from PyQt6 import uic
from PyQt6.QtWidgets import QApplication, QLabel

if __name__ == '__main__':
    app = QApplication(sys.argv)
    ui = uic.loadUi('demo.ui')
    label1: QLabel = ui.label
    print(label1.text())
    ui.show()
    sys.exit(app.exec())
